package com.ls.lserp.modules.order.entity;

import java.math.BigDecimal;
import java.util.List;

import com.ls.lserp.common.persistence.DataEntity;


/**
 * @ClassName: MaterialPurchase
 * @Description: 订单核料
 * 
 * @author 
 * @date 2017年02月20日
 *
 */

public class MaterialPurchase extends DataEntity<OrderMateriel> {
	// 核料面辅料id
	private Long materialReserveId;
	// 面辅料id
	private Long materialId;
	// 供货商id
	private Long venderId;
	// 合同订单id
	private Long indentId;
	// 合同id
	private Long contractId;
	// 款式id
	private Long styleId;
	// 采购数量
	private BigDecimal purchaseReserveQuantity;
	// 采购单价
	private BigDecimal purchaseUnitPrice;
	// 退税
	private BigDecimal purchaseTaxRebate;
	// 供货商list
	private List<MaterialPurchase> materialPurchaseList;
	// 核料采购表id
	private Long materialReservePurchaseId;
	// 净单价
	private BigDecimal purchaseUnitCost;
	// 金额
	private BigDecimal purchasePrice;
	// 供货商名
	private String venderNameCn;
	
	
	/**
	 * @return the indentId
	 */
	public Long getIndentId() {
		return indentId;
	}
	/**
	 * @param indentId the indentId to set
	 */
	public void setIndentId(Long indentId) {
		this.indentId = indentId;
	}
	/**
	 * @return the contractId
	 */
	public Long getContractId() {
		return contractId;
	}
	/**
	 * @param contractId the contractId to set
	 */
	public void setContractId(Long contractId) {
		this.contractId = contractId;
	}
	/**
	 * @return the styleId
	 */
	public Long getStyleId() {
		return styleId;
	}
	/**
	 * @param styleId the styleId to set
	 */
	public void setStyleId(Long styleId) {
		this.styleId = styleId;
	}
	/**
	 * @return the materialReserveId
	 */
	public Long getMaterialReserveId() {
		return materialReserveId;
	}
	/**
	 * @param materialReserveId the materialReserveId to set
	 */
	public void setMaterialReserveId(Long materialReserveId) {
		this.materialReserveId = materialReserveId;
	}
	/**
	 * @return the materialId
	 */
	public Long getMaterialId() {
		return materialId;
	}
	/**
	 * @param materialId the materialId to set
	 */
	public void setMaterialId(Long materialId) {
		this.materialId = materialId;
	}
	/**
	 * @return the venderId
	 */
	public Long getVenderId() {
		return venderId;
	}
	/**
	 * @param venderId the venderId to set
	 */
	public void setVenderId(Long venderId) {
		this.venderId = venderId;
	}
	/**
	 * @return the purchaseReserveQuantity
	 */
	public BigDecimal getPurchaseReserveQuantity() {
		return purchaseReserveQuantity;
	}
	/**
	 * @param purchaseReserveQuantity the purchaseReserveQuantity to set
	 */
	public void setPurchaseReserveQuantity(BigDecimal purchaseReserveQuantity) {
		this.purchaseReserveQuantity = purchaseReserveQuantity;
	}
	/**
	 * @return the purchaseUnitPrice
	 */
	public BigDecimal getPurchaseUnitPrice() {
		return purchaseUnitPrice;
	}
	/**
	 * @param purchaseUnitPrice the purchaseUnitPrice to set
	 */
	public void setPurchaseUnitPrice(BigDecimal purchaseUnitPrice) {
		this.purchaseUnitPrice = purchaseUnitPrice;
	}
	/**
	 * @return the purchaseTaxRebate
	 */
	public BigDecimal getPurchaseTaxRebate() {
		return purchaseTaxRebate;
	}
	/**
	 * @param purchaseTaxRebate the purchaseTaxRebate to set
	 */
	public void setPurchaseTaxRebate(BigDecimal purchaseTaxRebate) {
		this.purchaseTaxRebate = purchaseTaxRebate;
	}
	/**
	 * @return the materialPurchaseList
	 */
	public List<MaterialPurchase> getMaterialPurchaseList() {
		return materialPurchaseList;
	}
	/**
	 * @param materialPurchaseList the materialPurchaseList to set
	 */
	public void setMaterialPurchaseList(List<MaterialPurchase> materialPurchaseList) {
		this.materialPurchaseList = materialPurchaseList;
	}
	/**
	 * @return the materialReservePurchaseId
	 */
	public Long getMaterialReservePurchaseId() {
		return materialReservePurchaseId;
	}
	/**
	 * @param materialReservePurchaseId the materialReservePurchaseId to set
	 */
	public void setMaterialReservePurchaseId(Long materialReservePurchaseId) {
		this.materialReservePurchaseId = materialReservePurchaseId;
	}
	/**
	 * @return the purchaseUnitCost
	 */
	public BigDecimal getPurchaseUnitCost() {
		return purchaseUnitCost;
	}
	/**
	 * @param purchaseUnitCost the purchaseUnitCost to set
	 */
	public void setPurchaseUnitCost(BigDecimal purchaseUnitCost) {
		this.purchaseUnitCost = purchaseUnitCost;
	}
	/**
	 * @return the purchasePrice
	 */
	public BigDecimal getPurchasePrice() {
		return purchasePrice;
	}
	/**
	 * @param purchasePrice the purchasePrice to set
	 */
	public void setPurchasePrice(BigDecimal purchasePrice) {
		this.purchasePrice = purchasePrice;
	}
	/**
	 * @return the venderNameCn
	 */
	public String getVenderNameCn() {
		return venderNameCn;
	}
	/**
	 * @param venderNameCn the venderNameCn to set
	 */
	public void setVenderNameCn(String venderNameCn) {
		this.venderNameCn = venderNameCn;
	}
	
}